_author__ = 'nvsmirnov'
# -*- coding: utf-8 -*-

class CEditProvider(str):
    """Данные для заполнения обязательных полей формы редактирования профиля поставщика"""
    def __init__(self, inn = None, fullname = None, lastname = None, firstname = None, middlename = None, user_job = None,
                 user_email = None, mobile_phone = None, secret_phraze = None, datevalid = None,
                 documentdescription = None, nodatevalid = None):

        self.inn = inn

        self.fullname = fullname

        self.lastname = lastname

        self.firstname = firstname

        self.middlename = middlename

        self.user_job = user_job

        self.user_email = user_email

        #код страны, код города, номер телефона
        #self.phone_number = phone_number

        self.mobile_phone = mobile_phone

        self.secret_phraze = secret_phraze

        self.datevalid = datevalid

        self.nodatevalid = nodatevalid

        self.documentdescription = documentdescription

inn = CEditProvider('3564564567')
fullname = CEditProvider('Лермонтов Михаил Юрьевич')
lastname = CEditProvider('Егоров')
firstname = CEditProvider('Андрей')
middlename = CEditProvider('Витальевич')
user_job = CEditProvider('Директор')
user_email = CEditProvider('alexandermirovaev@gmail.com')
mobile_phone = CEditProvider('12345678901')
secret_phraze = CEditProvider('1234567')
datevalid = CEditProvider('')
nodatevalid = CEditProvider('True')
documentdescription = CEditProvider('New doc')

class CEditProvider(object):
    def __init__(self, cntrcode = None, citycode = None, number = None):
        self.cntrcode = cntrcode
        self.citycode = citycode
        self.number = number
#код страны, код города, номер телефона
phone_number = CEditProvider('5', '555', '5555555')



